const CssMinimizerPlugin = require('css-minimizer-webpack-plugin')
module.exports={
    mode:'production',
    devtool: false,
    optimization:{
        minimize:true,
    },
    plugins:[
        //压缩css文件
        new CssMinimizerPlugin()
    ]
}